import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 引入Element UI
import ElementUI from 'element-ui'
// 全局引入elementUI的样式
import 'element-ui/lib/theme-chalk/index.css'
// 调用elemmentUI
Vue.use(ElementUI)

import gCom from './common'
for(let i in gCom){
  Vue.component(i,gCom[i])
}
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
